package com.fucking.great.context.plun;

/**
 * https://www.jianshu.com/p/92ca0bfbd52f
 * 用于通过修改配置，切换系统架构，而不需要重构代码。
 *
 */
public abstract class BasePlugFactory implements PlugFactory{
    private final String name;
    public BasePlugFactory(String name) {
        this.name = name;
    }
    @Override
    public String name() {
        return this.name;
    }

    @Override
    public void destroy() {

    }


}
